﻿import QtQuick 2.0
import QtQuick.Controls 1.0
Label {
    height: 700
    Rectangle{
        id:topRect
        width: parent.width
        anchors.top: parent.top
        height: 300
        color: Qt.rgba(Math.random(),Math.random(),Math.random(),0.8);
        MouseArea{
            id:xx
            anchors.fill: parent
            onClicked: {
                console.log("clicked topRect ",topRect)
            }
        }
        Text {
            id: name
            text: qsTr("text")
            anchors.fill: parent
            horizontalAlignment: Text.AlignHCenter
            font.pixelSize: 50
        }
    }
    Rectangle{
        id:topRect2
        anchors.top: topRect.bottom
        width: parent.width
        height: 300
        CustomHeader{
            id:xx2
            anchors.centerIn: parent
            width: 61
            height: 61
            imgUrl: "file:///D:/private/EmoteView/new-emoji/new-git-emojipro/EMProject/bin/release/老表_BL1ibsh_header_61.png"
        }
        color: Qt.rgba(Math.random(),Math.random(),Math.random(),0.8);
    }
    Rectangle{
        id:topRect3
        width: parent.width
        anchors.top: topRect2.bottom
        anchors.bottom: parent.bottom
        color: Qt.rgba(Math.random(),Math.random(),Math.random(),0.8);
    }
}
